package com.cql.sys.service;

import com.cql.pojo.Role;

import java.util.List;

public interface RoleService {
    List<Role> roles() throws Exception;
    int insert(Role role) throws Exception;
    Role findByName(String name) throws Exception;

    int update(Role role) throws Exception;
    int delete(Role role) throws Exception;
}
